package org.crystal.tradecraft.model.binance.market.filter;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.crystal.tradecraft.model.binance.enumeration.FilterType;

/**
 * <h3>MAX_NUM_ORDERS 最多订单数</h3>
 * 定义了某个交易对最多允许的挂单数量（不包括已关闭的订单） 普通订单与条件订单均计算在内
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MaxNumOrders extends BinanceFilter {

    public MaxNumOrders() {
        super(FilterType.MAX_NUM_ORDERS);
    }

    private int maxNumOrders;
}
